package com.term.service.impl;

import com.term.service.IEmployeeService;
import com.term.dao.IEmployeeDao;
import com.term.domain.Employee;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by chenGang on 2017/1/14.
 */
@Service(value = "employeeService")
public class EmployeeServiceImpl extends BaseServiceImpl<Employee> implements IEmployeeService {

    private IEmployeeDao employeeDao;

    @Resource
    public void setEmployeeDao(IEmployeeDao employeeDao) {
        this.employeeDao = employeeDao;
        setBaseDao(employeeDao);
    }
}
